package patterns.mediator;

/**
 * Created by lenovo on 2016/12/1 0001.
 *
 */
public class MediatorPatternDemo {
    public static void main(String[] args){
        User robert = new User("Robert");
        User john = new User("John");

        robert.sendMsg("Hello john");
        john.sendMsg("Hi Robert");
    }
}
